package com.cscj.android.repository.repo.config

import com.cscj.android.repository.settings.model.SettingConstants

/**
 * WebView相关配置
 */
data class WebViewConfig(
    @SettingConstants.DarkMode var darkMode: Int = SettingConstants.DefaultDarkMode,
    var readerMode: Boolean = true,
    var fontSize: Int = SettingConstants.DefaultFontSize,
    var userAgent: String = SettingConstants.AndroidUserAgent,
    var enableAdBlock: Boolean = true,
    var enableJavascript: Boolean = true,
    var backgroundColor: String = "",
    var textColor: String = "",
    var bold: Boolean = false,
    var enableZoom: Boolean = true,
    @SettingConstants.ImageMode var imageMode: Int = SettingConstants.DefaultImageMode,
    var enableCookie: Boolean = true,
    var enableHistory: Boolean = true, //false 无痕浏览
    var blockIntent: Boolean = false

)